package com.gsbelarus.gedemin.salary.entity;

import java.util.Map;

public class PayslipDetailCard {

    private Map<String, Double> items;//HashMap<String, Double> items; //TODO sparsearray
    private double sum;
    private String name;

    public PayslipDetailCard() {
    }

    public PayslipDetailCard(String name, double sum, Map<String, Double> items) {
        this.items = items;
        this.name = name;
        this.sum = sum;
    }

    // generated getters & setters

    public Map<String, Double> getItems() {
        return items;
    }

    public void setItems(Map<String, Double> items) {
        this.items = items;
    }

    public double getSum() {
        return sum;
    }

    public void setSum(double sum) {
        this.sum = sum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
